<?php

namespace app\model;

class SupplierModel extends BaseModel
{
    protected $name = 'supplier';


    /**
     * Notes: 所有服务商列表
     * User: chenLei
     * Date: 10/28/25 11:40:58
     * @return array
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public function all(): array
    {
        return $this->field('id,supplier_name')->select()->toArray();
    }
}